Substring in a django template

42

{{ obj.name|slice:"0:3" }}

Comments

Submit
0 Comments